<?php

namespace App\Console\Commands;

use Illuminate\Console\Command;
use App\Supports\Withdraw\WithdrawOverChecker;

class CheckOverWithdrew extends Command
{
    protected $signature = 'cc:check-over-withdrew';

    protected $description = "Check over withdrew";

    public function handle()
    {
	    $date = $this->ask("Input date like: 2022-03-22");

	    app(WithdrawOverChecker::class)->run($date);

	    $this->info("Inspection has been completed.");
    }
}
